package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Emp;
import com.itheima.pojo.PageResult;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
public interface EmpService extends IService<Emp> {

    PageResult<Emp> savePage(Integer page, Integer pageSize, String name, Integer gender, LocalDate begin, LocalDate end);

    void add(Emp emp);

    Emp selectById(Integer id);

    void updateEmpById(Emp emp);

    void delect(List<Integer> ids);
}
